package com.imti.retrofitweatherdemo.logic;

public class NewsDetailData
{

    private String reason;

    private String error_code;

    private NewsDetailResult result;

    public String getReason()
    {
        return reason;
    }
    public void setReason(String reason)
    {
        this.reason = reason;
    }
    public String getError_code()
    {
        return error_code;
    }
    public void setError_code(String error_code)
    {
        this.error_code = error_code;
    }
    public NewsDetailResult getResult()
    {
        return result;
    }
    public void setResult(NewsDetailResult result)
    {
        this.result = result;
    }
    class NewsDetailResult
    {

        private String uniquekey;

        private String content;

        private NewsDetail detail;

        public String getUniquekey()
        {
            return uniquekey;
        }
        public void setUniquekey(String uniquekey)
        {
            this.uniquekey = uniquekey;
        }
        public String getContent()
        {
            return content;
        }
        public void setContent(String content)
        {
            this.content = content;
        }
        public NewsDetail getDetail()
        {
            return detail;
        }
        public void setDetail(NewsDetail detail)
        {
            this.detail = detail;
        }
    }

    class NewsDetail
    {

        private String title;

        private String date;

        private String category;

        private String author_name;

        private String url;

        public String getTitle()
        {
            return title;
        }
        public void setTitle(String title)
        {
            this.title = title;
        }
        public String getDate()
        {
            return date;
        }
        public void setDate(String date)
        {
            this.date = date;
        }
        public String getCategory()
        {
            return category;
        }
        public void setCategory(String category)
        {
            this.category = category;
        }
        public String getAuthor_name()
        {
            return author_name;
        }
        public void setAuthor_name(String author_name)
        {
            this.author_name = author_name;
        }
        public String getUrl()
        {
            return url;
        }
        public void setUrl(String url)
        {
            this.url = url;
        }
    }
}
